package com.yupi.springbootinit.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 * @TableName gen_history
 */
@TableName(value ="gen_history")
@Data
public class GenHistory implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 生成名称
     */
    @TableField(value = "gen_name")
    private String genName;

    /**
     * 生成时间
     */
    @TableField(value = "gen_time")
    private Date genTime;

    /**
     * 修改时间
     */
    @TableField(value = "gen_update_time")
    private Date genUpdateTime;

    /**
     * user_id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 生成图表id
     */
    @TableField(value = "chart_id")
    private Long chartId;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}